package com.sss.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author sss
 * @date 2020-03-07 19:13
 **/
@Component
public class PaymentFeignFallBackService  implements PaymentFeignHystrixService{

    public String ok(Integer id) {
        return "PaymentFeignFallBackService*******Global全局服务降级方法,请稍后再试";
    }

    public String timeout(Integer id) {

        return "PaymentFeignFallBackService*******Global全局服务降级方法,请稍后再试";
    }

    public String circuit(Integer id) {
        return "circuit********PaymentFeignFallBackService*******Global全局服务降级方法,请稍后再试";
    }
}
